import React, { useEffect, useState } from 'react'
import { StyleSheet, Text, View } from "react-native";
import Crad from "../lllpLogin/components/Card";
import axiosApi from "../Api/axios";

export default function Find() {
  const [data, setData] = useState([]);
  useEffect(() => {
    axiosApi.get("/llp/gitfind").then((res) => {
      setData(res.data.data);
      console.log(res.data.data);
    });
  }, []);
  return (
    <View>
      {data.map((item) => {
        return <Crad item={item} />;
      })}
    </View>
  );
}

const styles = StyleSheet.create({});
